package org.anderground.internal.graphics.impl;

import org.anderground.internal.graphics.abstaractions.AbstractShader;

import android.graphics.Shader;

public class AndroidShader implements AbstractShader {

	public static org.anderground.core.graphics.Shader castBack(
			Shader shader) {
		return null; // for Android implementation castBack difficult.
	}

	public static Shader cast(org.anderground.core.graphics.Shader aShader) {
		if (aShader == null)
			return null;
		return ((AndroidShader) aShader.getDelegate()).getShader();
	}

	public AndroidShader() {

	}

	public Shader getShader() {
		return new Shader();
	}

}
